<!-- header -->
<jsp:include page="header.jsp">
	<jsp:param name="title" value="Register Success"/>
</jsp:include>
<script type="text/javascript" src="js/register.js"></script>
<!-- / header -->

<%
	String redirect = (String) request.getAttribute("redirected_from_home");
	if( redirect == null || !redirect.equalsIgnoreCase("true") ) {		
		response.sendRedirect("/writeonproject/home");
	}
	
	String uid = (String) request.getAttribute("userid");
	if( uid != null ) {		
		response.sendRedirect("/writeonproject/home");
	}
%>

<!-- content -->
	<div class="body7">
		<div class="main">
			<section id="content">
				<div class="wrapper">
					<article>
						<div class="pad1">
							<h2>Registration Successful</h2>
							<div id="register">
					             <p class="info">Your registration is successful. Please check your email to activate your account.</p>
							</div>
						</div>
					</article>
				</div>
			</section>
		</div>
	</div>
	<!-- / content -->

<!-- footer -->
<jsp:include page="footer.jsp"/>
<!-- / footer -->